home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9301 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: ix.netcom.com!news
  2. From: studwoof@ix.netcom.com(Studcat's Big Studdog.)
  3. Newsgroups: comp.lang.c
  4. Subject: HELP HELP HELP HELP! NEED TO KNOW ASAP!
  5. Date: 9 Mar 1996 02:00:09 GMT
  6. Organization: Netcom
  7. Message-ID: <4hqon9$jm@dfw-ixnews4.ix.netcom.com>
  8. NNTP-Posting-Host: ix-tf7-17.ix.netcom.com
  9. X-NETCOM-Date: Fri Mar 08  8:00:09 PM CST 1996
  10.  
  11.         Sorry for the loud subject. I recently bought Turbo C++ and now
  12. I'm stuck with a problem for a bit of code for a game I'm working on.
  13. The problem is that I'm getting 4 lines of text by adding a letter from
  14. getche and adding it to a char array one letter at a time. The problem
  15. is that with my old compiler it would let me get all the input I would
  16. need, Turbo C++ only let's me type all 4 lines, but it stops adding
  17. characters around 200 characters. What's happening to my characters? I
  18. thought getch/getche was unbuffered and would in theory let me type and
  19. add to the character array until I ran out of space in the array. If
  20. anyone can tell me how to rememdy this.. PLEASE PLEASE tell me as I'm
  21. in a real bind. Thanks
  22.  
  23. - StudWoof.
  24.